<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
   	<title>TreeHole Admin</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<link type="text/css" href="${pageContext.request.contextPath }/css/global.css" rel="stylesheet" />

  </head>
	<body>
		<div class="box">
			<div class="title">
				【温馨提示】
			</div>
			<div class="con">
				【相关信息】
				<br />
				以下为服务器相关信息，供参考：
				<br />
				服务器信息 <%=getServletConfig().getServletContext().getServerInfo() %>
				<br />
				服务器名称 <%=request. getServerName() %>
				<br />
				服务器IP <%=request.getLocalAddr()%>
				<br />
				服务器监听端口 <%=request.getServerPort() %>
				<br />
				客户端IP <%=request.getRemoteAddr() %>
				<br />
				客户端主机名 <%=request.getRemoteHost() %>
				<br />
				客户端User-Agent <%=request.getHeader("User-Agent") %>
				<br />
			</div>
		</div>
	</body>
</html>
